package com.ay.weixin.fdc.front.scratchcard.domain;

import java.util.Date;

public class ScratchCard {
	
	private long id;
	
	private int max_scratch_no;
	
	private String title;
	
	private String content;
	
	private Date start_time;
	
	private Date end_time;
	
	private long wxproject_id;
	

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public int getMax_scratch_no() {
		return max_scratch_no;
	}

	public void setMax_scratch_no(int max_scratch_no) {
		this.max_scratch_no = max_scratch_no;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getStart_time() {
		return start_time;
	}
	
	public String getStart_time_str(){
		if(start_time!=null)return start_time.toLocaleString();
		return "";
	}

	public void setStart_time(Date start_time) {
		this.start_time = start_time;
	}

	public Date getEnd_time() {
		return end_time;
	}
	
	public String getEnd_time_str(){
		if(end_time!=null)return end_time.toLocaleString();
		return "";
	}

	public void setEnd_time(Date end_time) {
		this.end_time = end_time;
	}

	public long getWxproject_id() {
		return wxproject_id;
	}

	public void setWxproject_id(long wxproject_id) {
		this.wxproject_id = wxproject_id;
	}

	

	
	
	
}
